.tools-container {
    padding: 10px;
    height: 100%;
    overflow-y: auto;
    outline: none; /* 移除焦点时的默认边框 */
}

.tools-header h3 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.tools-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.tool-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    outline: none; /* 移除焦点时的默认边框 */
}

.tool-item:hover,
.tool-item:focus {
    background-color: var(--theia-list-hoverBackground);
}

.tool-item:focus {
    box-shadow: 0 0 0 2px var(--theia-focusBorder);
}

.tool-icon {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.tool-content {
    flex: 1;
}

.tool-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.tool-description {
    font-size: 12px;
    color: #666;
}

.webview-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.webview-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--theia-panel-border);
    background-color: var(--theia-editor-background);
}

.webview-url {
    display: flex;
    align-items: center;
    gap: 8px;
}

.webview-url small {
    color: #666;
}

.webview-actions {
    display: flex;
    gap: 4px;
}

.webview-refresh-btn,
.webview-external-btn {
    background: transparent;
    border: 1px solid var(--theia-panel-border);
    border-radius: 3px;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--theia-foreground);
}

.webview-refresh-btn:hover,
.webview-external-btn:hover {
    background-color: var(--theia-button-hoverBackground);
}

.webview-iframe {
    flex: 1;
    border: none;
    width: 100%;
}

.webview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.placeholder-content {
    text-align: center;
    color: #666;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

/* 移除自定义图标样式，使用标准FontAwesome图标 */
/* 如果您的环境没有FontAwesome，可以使用以下样式作为备用 */
.fa-wrench:before {
    content: "🔧";
}

.fa-calculator:before {
    content: "🧮";
}

.fa-globe:before {
    content: "🌐";
}

.fa-refresh:before {
    content: "🔄";
}

.fa-external-link:before {
    content: "🔗";
}